using System;

using SdlDotNet.Core;

using Game.Data;
using Game.Input;
using Game.Output;

namespace Game
{
	public static class CProgram
	{		
		public const string ROOT_DIR = @"C:\development\tts\";
		
		[System.STAThreadAttribute]
		public static void Main(string[] args)
		{
			Initialize();

			// react on events from now
			Events.Run();
		}
		
		private static void Initialize()
		{
			CData.Initialize();
			
			CConsole.Initialize();
			
			CGameLoop.Initialize();
		}
		
	}
}
